package leetcode.code0560;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution560 implements IDebug {
	public abstract int subarraySum(int[] nums, int k);

	@Override
	public void debug1() {
		String str = "[1,1,1]";
		int k = 2;
		int e = 2;
		int r = this.subarraySum(HelpDebug.str2array3(str), k);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		String str = "[1,2,3]";
		int k = 3;
		int e = 2;
		int r = this.subarraySum(HelpDebug.str2array3(str), k);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		// TODO Auto-generated method stub

	}

	@Override
	public void debug4() {
		// TODO Auto-generated method stub

	}

}
